import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { UserComponent } from './user.component';
import { UserRoutingModule } from './user-roting.module';
import { UserService } from '../../service/user.service';


// Forms Component
import { DropdownModule } from 'ng2-bootstrap/dropdown';
import { FormsModule } from '@angular/forms';

// Modal Component
import { ModalModule } from 'ng2-bootstrap/modal';

// Tabs Component
import { TabsModule } from 'ng2-bootstrap/tabs';
import { UserEditComponent } from './user-edit/user-edit.component';
import { UserAddComponent } from './user-add/user-add.component';


@NgModule({
  imports: [
    FormsModule,
    CommonModule,
    UserRoutingModule,
    DropdownModule.forRoot(),
    ModalModule.forRoot(),
    TabsModule
  ],
  declarations: [
    UserComponent,
    UserAddComponent,
    UserEditComponent,
    UserAddComponent
],
  providers:[UserService],
  
})
export class UserModule { }
